module.exports = (url, data) =>{
  return new Promise((resolve, reject) => {
    wx.request({
      url: `https://locally.uieee.com${url}`,
      data: data,
      success: res => {
          resolve(res.data)
      },
      faild: res => {
        reject(res)
      }
    })
  })
}